package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.topevery.garden.entity.po.GreFile;
import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 行道树记录表 视图
 *
 * @author code-generate
 * @date 2022-01-05
 */
@Data
@ApiModel(value = "GreTreeRecord 视图", description = "行道树记录表 视图")
public class GreTreeRecordVO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /**
     * tree id
     */
    @ApiModelProperty(value = "tree id")
    @Excel(name = "tree id", orderNum = "0")
    private Integer treeIntId;

    /**
     * UUID
     */
    @ApiModelProperty(value = "UUID")
    @Excel(name = "UUID", orderNum = "0")
    private Character treeId;

    /**
     * 编号
     */
    @ApiModelProperty(value = "编号")
    @Excel(name = "编号", orderNum = "0")
    private String code;

    /**
     * 中文名
     */
    @ApiModelProperty(value = "中文名")
    @Excel(name = "中文名", orderNum = "0")
    private String name;

    /**
     * 拉丁名
     */
    @ApiModelProperty(value = "拉丁名")
    @Excel(name = "拉丁名", orderNum = "0")
    private String nameLatin;

    /**
     * 绿地Id
     */
    @ApiModelProperty(value = "绿地Id")
    @Excel(name = "绿地Id", orderNum = "0")
    private Integer landId;

    /**
     * 树高（M）
     */
    @ApiModelProperty(value = "树高（M）")
    @Excel(name = "树高（M）", orderNum = "0")
    private Double treeHeight;

    /**
     * 树宽（M） 范围
     */
    @ApiModelProperty(value = "树宽（M） 范围")
    @Excel(name = "树宽（M） 范围", orderNum = "0")
    private String treeWidth;

    /**
     * 树种
     */
    @ApiModelProperty(value = "树种")
    @Excel(name = "树种", orderNum = "0")
    private String treeKind;

    /**
     * 属性
     */
    @ApiModelProperty(value = "属性")
    @Excel(name = "属性", orderNum = "0")
    private String treeAttr;

    /**
     * 类别ID
     */
    @ApiModelProperty(value = "类别ID")
    @Excel(name = "类别ID", orderNum = "0")
    private String type;

    /**
     * 类别
     */
    @ApiModelProperty(value = "类别")
    @Excel(name = "类别", orderNum = "0")
    private String typeName;

    /**
     * 地点描述
     */
    @ApiModelProperty(value = "地点描述")
    @Excel(name = "地点描述", orderNum = "0")
    private String address;

    /**
     * 所属路段
     */
    @ApiModelProperty(value = "所属路段")
    @Excel(name = "所属路段", orderNum = "0")
    private String aloneLoad;

    /**
     * 街道Id
     */
    @ApiModelProperty(value = "街道Id")
    @Excel(name = "街道Id", orderNum = "0")
    private String streetId;

    /**
     * 街道名称
     */
    @ApiModelProperty(value = "街道名称")
    @Excel(name = "街道名称", orderNum = "0")
    private String streetName;

    /**
     * 区域ID
     */
    @ApiModelProperty(value = "区域ID")
    @Excel(name = "区域ID", orderNum = "0")
    private String distractId;

    /**
     * 区域
     */
    @ApiModelProperty(value = "区域")
    @Excel(name = "区域", orderNum = "0")
    private String distractName;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @Excel(name = "备注", orderNum = "0")
    private String desc;

    /**
     * 普查日期
     */
    @ApiModelProperty(value = "普查日期")
    @Excel(name = "普查日期", orderNum = "0")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime date;

    /**
     * 坐标X
     */
    @ApiModelProperty(value = "坐标X")
    @Excel(name = "坐标X", orderNum = "0")
    private Double lng;

    /**
     * 坐标Y
     */
    @ApiModelProperty(value = "坐标Y")
    @Excel(name = "坐标Y", orderNum = "0")
    private Double lat;

    /**
     * 版本 1 当前 0 历史
     */
    @ApiModelProperty(value = "版本 1 当前 0 历史")
    @Excel(name = "版本 1 当前 0 历史", orderNum = "0")
    private Integer isNew;

    /**
     * 胸径(m)
     */
    @ApiModelProperty(value = "胸径(m)")
    @Excel(name = "胸径(m)", orderNum = "0")
    private String growth;

    /**
     * 审核状态
     */
    @ApiModelProperty(value = "审核状态")
    @Excel(name = "审核状态", orderNum = "0")
    private Boolean state;

    @ApiModelProperty(value = "审核状态")
    @Excel(name = "图片文件", orderNum = "0")
    private List<GreFile> fileList;
}
